﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;

namespace MP3Ganizer.BusinessObject.Music
{
    public class Library 
    {
        
        private Artist _defaultArtist;
        private Album _defaultAlbum;
        

        public Library() {
            Albums = new Dictionary<Album, IList<Track>>();
            Artists = new Dictionary<Artist, IList<Album>>();
            Tracks = new List<Track>();
        }

        
        #region Properties
        public IList<Track> this[Album album] {
            get { return Albums[album]; }
        }
        public IList<Album> this[Artist artist]
        {
            get { return Artists[artist]; }
        }
        public IDictionary<Album, IList<Track>> Albums { get; set; }
        public IDictionary<Artist, IList<Album>> Artists { get; set; }
        public IList<Track> Tracks { get; set; }
        #endregion

        
    }
}